package de.mnit.basis.swt.element.feld.werkzeug;

import org.eclipse.swt.widgets.ToolBar;
import org.eclipse.swt.widgets.ToolItem;
import org.eclipse.swt.widgets.Widget;

import de.mnit.basis.swt.element.feld.A_SWT_Feld;

/**
 * @author Michael Nitsche
 */
public abstract class A_SWT_WerkzeugFeldBasis<TA extends A_SWT_WerkzeugFeldBasis<?>> extends A_SWT_Feld<TA,ToolItem> {

	// ERZEUGEN

	protected final int style3() {
		return style4();
	}

	protected ToolItem roh(Widget basis, int style) {
		return new ToolItem((ToolBar)basis,style);
	}

	protected final void init3() {
		init4();
	}

	protected abstract int style4();
	protected abstract void init4();

}
